
from resnet import ResNet, Bottleneck


def resnest50(pretrained=False, root='~/.encoding/models', **kwargs):
    #ResNet的第一个参数是Bottleneck，bottleneck共三层。split-attention也是放在了bottleneck函数中,放在了bottleneck的第二层，
    model = ResNet(Bottleneck, [3, 4, 6, 3],
                   radix=2, groups=1, bottleneck_width=64,
                   deep_stem=True, stem_width=32, avg_down=True,
                   avd=True, avd_first=False, **kwargs)
    return model
